package com.ctrip.ec.api.mobile.controller;

/**
 * Created by jiangzy on 2018/9/8.
 */

import com.ctrip.ec.dal.PagerSetting;
import com.ctrip.ec.biz.dao.sms.SmsLoginDao;
import com.ctrip.ec.biz.entity.sms.SmsLoginEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.List;
import java.util.Random;

@RestController
@RequestMapping("smsLogin")
public class SmsLoginController{
    @Autowired
    private SmsLoginDao smsLogin;



    @PostMapping("send")
    public  void save(@RequestBody String mobile) throws SQLException {
        Random rnd = new Random();
       // rnd.ne
    }
}